#ifndef BL602STATE_H
#define BL602STATE_H

#include "config.h"

void setHeight(uint16_t min, uint16_t max);
void setAcc(int16_t min, int16_t max);
void setTime(uint8_t time);
void setAccAvg(int16_t avg);
int16_t getAccAvg(void);
void accDataHandle(int16_t acc, float dt);
uint16_t getHeight(void);
void resetAvg(void);

#endif
